package com.wyiot.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author yly
 * @since 2022年03月30日
 */
@Getter
public enum PetWeightEnum {
    LessThenTwo(0, "2kg以内"),
    BetweenTwoAndFore(1, "2 ~ 4kg"),
    BetweenForeAndSix(2, "4 ~ 6kg"),
    ;

    @EnumValue
    private final Integer  code;
    @JsonValue
    private final String remark;

    PetWeightEnum(Integer code,String remark) {
        this.code= code;
        this.remark=remark;
    }

}
